#ifndef LIBTORRENT_SETTINGS_H
#define LIBTORRENT_SETTINGS_H
#include <string>

namespace torrent {

class Settings {
public:
	static std::string httpName;
	static std::string peerName;

	static int dirMode;
	static int filesMode;

	static int rateStart;
	static int rateWindow;
	static int rateQuick;
};

class DownloadSettings {
public:
	DownloadSettings();

	int minPeers;
	int maxPeers;

	int maxUploads;

	int chokeCycle;

	static DownloadSettings& global() { return *m_global; }

private:
	static DownloadSettings* m_global;
};

} // namespace torrent

#endif // LIBTORRENT_SETTINGS_H
